package cn.tedu.notice.base.response;

public class JsonResult {
    private Integer code=1;
    private String message="ok";
    private Object data;
    public JsonResult(Object data) {
        this.data=data;
    }
    public JsonResult(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public Object getData() {
        return data;
    }
}
